import request from '@/utils/request'

// 查询钻井-详细信息列表
export function listWellDetailData(query) {
  return request({
    url: '/loss/wellDetailData/list',
    method: 'get',
    params: query
  })
}

// 查询钻井-详细信息详细
export function getWellDetailData(id) {
  return request({
    url: '/loss/wellDetailData/' + id,
    method: 'get'
  })
}

// 新增钻井-详细信息
export function addWellDetailData(data) {
  return request({
    url: '/loss/wellDetailData',
    method: 'post',
    data: data
  })
}

// 修改钻井-详细信息
export function updateWellDetailData(data) {
  return request({
    url: '/loss/wellDetailData',
    method: 'put',
    data: data
  })
}

// 删除钻井-详细信息
export function delWellDetailData(id) {
  return request({
    url: '/loss/wellDetailData/' + id,
    method: 'delete'
  })
}
